<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="CunhuoNavCtrl">
</ul>
<div class="set_box">
  <h1 class="set_title"><!--调出单-->{{language.TIPS_INVENTORY_EXPORT_ORDER}}<span class="title_btn_group">
          <a class="title_btn" href="javascript:void(0);" ng-click="search();" ng-show="purview['\/CunhuoDiaoChuDetailCtrl:search'].show == 1"><!--查询-->{{language.ACT_INQUIRE}}</a></span></h1>
  <div class="set_cont list_page" >
    <table class="list_table">
      <thead>
        <tr>
          <th><!--单据编号-->{{language.TIPS_INVENTORY_DOC_CODE}}</th>
          <th><!--数量-->{{language.TIPS_INVENTORY_NUM}}</th>
          <th><!--金额-->{{language.TIPS_INVENTORY_MONEY}}</th>
          <th><!--时间-->{{language.TIPS_INVENTORY_TIME}}</th>
          <th><!--状态-->{{language.TIPS_INVENTORY_STATUS}}</th>
        </tr>
      </thead>
      <tbody ng-repeat="i in diaochu_list | orderBy:'key':true">
        <tr class="date_num">
          <td class="date" colspan="4"><!--日期-->{{language.TIPS_INVENTORY_DATE}}：{{i.key}}</td>
          <td class="num"><span>{{i.value.length}}</span></td>
        </tr>
        <tr class="list_unit"  ng-repeat="diaochu in i.value track by $index" >
          <td><a ng-href="#/cunhuo/diaochu_detail/{{diaochu.record_code}}">{{diaochu.record_code}}</a></td>
          <td>{{diaochu.num}}</td>
          <td>{{diaochu.money|number:2}}</td>
          <td>{{diaochu.lastchanged}}</td>
          <td ng-show="is_lqx">{{diaochu.is_sure|check_is_sure}}{{diaochu.is_shift_out|check_is_allocate}}</td>
          <td ng-show="!is_lqx">{{diaochu.is_sure|check_is_sure}}</td>
        </tr>
      </tbody>
    </table>
    <div class="btn_more"><button class="btn" ng-click='scoll.nextpage();' ng-show="is_show"></button></div>
  </div>
</div>
